package com.kun.service;

import com.kun.pojo.User;

import java.util.List;

/**
 * @Version:v1.0
 * @Author: 鲁坤
 * @Date: 2021-04-08
 * @ClassName: UserService
 * @Description: TODO
 */
public interface UserService {
    //根据答复状态 查看注册申请
    List<User> queryUserByRstatus(int rstatus);
    //用于登录验证
    User queryUserByUsername(String username);
    //用户修改信息
    User queryUserByUid(int uid);
    int updateUser(User user);
    int addUser(User user);
    int deleteUserByUid(int uid);
}
